<include file="../header" />
<body class="J_scroll_fixed">
<script type="text/javascript">
    $(function() {



    })

</script>
<div class="wrap J_check_wrap">
    <table class="table table-hover table-bordered">
        <thead>
        <tr>
            <if condition="$category['is_finished'] neq -1">
                <th>订单号{$vo['is_finished']}</th>
                <th>用户信息</th>
                <th>产品信息</th>
                <th>产品测量结果</th>
                <th>需要发票</th>
                <th>收货人</th>
                <th>创建时间</th>
                <th>状态</th>
                <else/>
                <th>预约号</th>
                <th>用户信息</th>
                <th>所属病症</th>
                <th>预约日期</th>
                <th>门店名称</th>
                <th>上门地址</th>
                <th>预约类型</th>
                <th>金额</th>
            </if>

        </tr>
        </thead>
        <tbody>
        <foreach name="orderList" item="vo">
            <tr>
                <if condition="$category['is_finished'] neq -1">
                    <td>{$vo.order_id}<br>{$vo.out_trade_no}</td>
                    <td>{$vo.nickname}<br>医生：{$vo.doctor_name}<br>医院：{$vo.hospital_name}</td>
                    <td>{$vo.product_name} X {$vo.number}件<br>总计：{$vo.price}元</td>
                    <td>{$vo.measure_result}</td>
                    <td>{:getEnumString($defaultEnum, $vo['need_invoice'])}&nbsp;<br>{$vo.invoice_name}</td>
                    <td>{$vo.receive_name}<br>{$vo.receive_contact}<br>{$vo.receive_address}<br>配送：{$vo.delivery_type}</td>
                    <td>{$vo.create_time}</td>
                    <td>{:getEnumString($statusEnum, $vo['status'])}</td>
                    <else/>
                    <td>{$vo.booking_id}</td>
                    <td>{$vo.name}-{$vo.sex}-{$vo.age}岁<br>{$vo.mobile}<br>医生：{$vo.doctor_name}<br>医院：{$vo.hospital_name}</td>
                    <td>{$vo.category_name}</td>
                    <td>{$vo.booking_time}</td>
                    <if condition="$vo.booking_type eq 1">
                        <td>{$vo.shop_name}</td>
                        <td></td>
                        <else/>
                        <td></td>
                        <td>{$vo.address}</td>
                    </if>
                    <td>
                        {:getEnumString($bookingTypeEnum, $vo['booking_type'])}&nbsp;&nbsp;
                    </td>
                    <if condition="$vo.money eq 0">
                        <td>0 元</td>
                        <else/>
                        <td>{$vo.money} 元</td>
                    </if>
                </if>


            </tr>
        </foreach>
        <div class="form-actions">
            <a class="btn" href="__URL__">返回</a>
        </div>
        </tbody>
    </table>
</div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>